<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <title>商品详情</title>
    <meta name="viewport"
        content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../script/vant/index.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui-slide.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui-pull-refresh.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="css/common.css" />
    <link rel="stylesheet" type="text/css" href="css/product_detail.css" />
    <style>
        #textarea {
            display: block;
            margin: 0 auto;
            overflow: hidden;
            font-size: 14px;
            height: 18px;
            line-height: 24px;
            padding: 2px;
        }

        /*textarea {
            outline: 0 none;
            border-color: rgba(82, 168, 236, 0.8);
            box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
        }*/
    </style>
</head>

<body>
    <!-- v-cloak -->
    <div id="app" v-cloak>
        <!-- 商家基础信息 -->
        <div class="order_detail mt15">
            <div class="productlist_title">
                基本信息
            </div>
            <div class="dcwj_con2">
                <div class="dcwj_list">
                    <div class="fmly_lft fl">商品分类</div>
                    <div class="dcwj_left fr">
                        {{Detail.CategoryName}}
                    </div>
                </div>
                <div class="dcwj_list">
                    <div class="fmly_lft fl">商品名称</div>
                    <div class="dcwj_left fr">
                        {{Detail.ProductName}}
                    </div>
                </div>
                <div class="dcwj_list">
                    <div class="fmly_lft fl">排序</div>
                    <div class="dcwj_left fr">
                        {{Detail.SortOrder}}
                    </div>
                </div>
                <div class="dcwj_list">
                    <div class="fmly_lft fl">商品状态</div>
                    <div class="dcwj_left fr">
                        <span class="bluebgcolor" v-text="Detail.StatusInfo"></span>
                    </div>
                </div>
                <div class="dcwj_list">
                    <div class="fmly_lft alline">商家简介</div>
                    <div class="dcwj_left alline pt6" v-text="Detail.Title">
                    </div>
                </div>
                <div class="dcwj_list">
                    <div class="fmly_lft alline">商品封面图</div>
                    <div class="imgbox proInfo">
                        <ul style="width: 100%;">
                            <li>
                                <div class="img_item fl">
                                    <img :src="Detail.CoverImageReal">
                                </div>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="dcwj_list">
                    <div class="fmly_lft alline">商品相册</div>
                    <div class="imgbox proInfo">
                        <ul style="width: 100%;">
                            <li v-for="item in BackImg">
                                <div class="img_item fl">
                                    <img :src="item.IconPicPath">
                                </div>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <!-- 销售信息 -->
        <div class="product_types">
            <div class="pro_typedec" v-text="'商品类型（' + (Detail.GUID == '' ? '单一' : '多') + '种类型）'"></div>
            <div class="order_detail" v-for="(item,index) in Detail.ProductGroup">
                <div class="productlist_title">
                    销售信息 {{ Detail.GUID == '' ?'': index+1 }}
                </div>
                <div class="dcwj_con2">
                    <div class="dcwj_list">
                        <div class="fmly_lft alline">商品图片</div>
                        <div class="imgbox proInfo">
                            <ul style="width: 100%;">
                                <li>
                                    <div class="img_item fl">
                                        <img :src="item.CoverImage">
                                    </div>
                                </li>
                            </ul>
                        </div>
                    </div>
                    <div class="dcwj_list">
                        <div class="fmly_lft fl">型号名称</div>
                        <div class="dcwj_left fr" v-text="item.TypeTitle">
                            
                        </div>
                    </div>
                    <div class="dcwj_list">
                        <div class="fmly_lft fl">销售单价</div>
                        <div class="dcwj_left fr" v-text="item.SalePrice">
                            
                        </div>
                    </div>
                    <div class="dcwj_list">
                        <div class="fmly_lft fl">成本单价</div>
                        <div class="dcwj_left fr" v-text="item.BasicPrice">
                            
                        </div>
                    </div>
                    <div class="dcwj_list">
                        <div class="fmly_lft fl">重量</div>
                        <div class="dcwj_left fr" v-text="item.Weight/1000">
                        </div>
                    </div>
                    <div class="dcwj_list">
                        <div class="fmly_lft fl">当前库存</div>
                        <div class="dcwj_left fr" v-text="item.Stock">
                        </div>
                    </div>
                    <div class="dcwj_list">
                        <div class="fmly_lft fl">安全库存</div>
                        <div class="dcwj_left fr" v-text="item.SafeStock">
                        </div>
                    </div>
                </div>
                <div class="dcwj_con2" style="border-top: dashed 0.5px #eee;">
                    <div class="dcwj_list" v-if="item.IsSaleActivityPrice">
                        <div class="fmly_lft fl" style="width: 60%;">
                            活动单价
                            <span class="redcolor">
                                年终大促销活动
                            </span>
                        </div>
                        <div class="dcwj_left fr" style="width: 39%;">
                            <span v-text="item.IsSaleActivityPrice ? item.SaleActivityPrice : '未参与活动商品'"></span>
                        </div>
                    </div>
                    <div class="dcwj_list" v-if="item.IsMemberPrice">
                        <div class="fmly_lft fl">会员单价</div>
                        <div class="dcwj_left fr">
                            <span v-text="item.IsMemberPrice ? item.MemberPrice : '未参与会员商品'"></span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 支付宝商户号 -->
        <div class="order_detail">
            <div class="productlist_title">
                商品详情
            </div>
            <div class="dcwj_con2" v-html="Detail.Description">
                
            </div>
        </div>
    </div>
</body>
<script type="text/javascript " src="../script/api.js "></script>
<script type="text/javascript " src="../script/vue.js "></script>
<script type="text/javascript" src="../script/config.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/aui-actionsheet.js"></script>
<script type="text/javascript" src="../script/aui-slide.js"></script>
<script type="text/javascript" src="../script/aui-pull-refresh.js"></script>
<script type="text/javascript" src="../script/aui-scroll.js"></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript " src="js/product_detail.js"></script>



</html>